package com.ruge.spring.cloud.gateway.dao;

import com.ruge.spring.cloud.gateway.base.token.CheckTokenResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 嘿丷如歌
 * @version V1.0
 * @Description:
 * @date 2021/4/26 20:07
 */
public interface ServerAdminClient {
    /**
     * 校验token
     *
     * @param token
     * @return
     */
    @GetMapping("adminServer/checkAdminToken")
    CheckTokenResponse checkAdminToken(@RequestParam(required = true, name = "token") String token);
}